package com.ld.wms.business.log.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ld.wms.business.log.model.CameraMonitorInfoModel;
import com.ld.wms.business.log.vo.req.CameraMonitorInfoReqVo;
import com.ld.wms.business.log.vo.resp.CameraMonitorInfoRespVo;
import com.ld.wms.common.vo.GeneratePageListVo;
import jakarta.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangfeng
 * @since 2025-06-05
 */
public interface CameraMonitorInfoService extends IService<CameraMonitorInfoModel> {

    /**
     * 添加监控记录
     * @param reqVo
     */
    void add(CameraMonitorInfoReqVo reqVo);

    /**
     * 列表监控记录查询
     * @param current
     * @param size
     * @return
     */
    GeneratePageListVo<CameraMonitorInfoRespVo> getPageList(Integer current, Integer size);

    /**
     * 查看录像
     * @param id
     */
    void getVideo(Long id, HttpServletResponse response);

    /**
     * 清理部分历史文件
     */
    void clearHistoryVideo();
}
